package com.blb.dao;


import com.blb.pojo.Topic;
import java.sql.SQLException;
import java.util.List;


public interface TopicDao {
    /**
     * 添加朋友圈话题
     * @param topic
     */
    void add(Topic topic) throws SQLException;

    /**
     * 删除
     * @param id
     * @throws SQLException
     */
    void delete(String id) throws SQLException;


    List<Topic> Topiclist() throws Exception;


}
